package com.timebank.websocket.service;

import com.timebank.common.core.web.pojo.AjaxResult;
import com.timebank.websocket.pojo.vo.SendMsgVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * websocket消息 接口类
 * @author shiliuyinzhen
 */
@Service
public interface WSMessageService {

    /**
     * 查询所有消息记录
     * @param sendMsgVO
     * @return
     */
    List<SendMsgVO> getWSMessageList(SendMsgVO sendMsgVO);

    /**
     * 批量确认消息
     * @param messageIds
     * @return
     */
    AjaxResult batchConfirmWSMessage(String[] messageIds);
}
